from pymongo import MongoClient
import time
collection = MongoClient('192.168.1.231', 27017)['json']['json_collection']
a = time.time()
for each in collection.find({}, {'_id': 0, 'applicationDataOrProsecutionHistoryDataOrPatentTermData': 1})[0:100]:
    a = each['applicationDataOrProsecutionHistoryDataOrPatentTermData'][
        0]['applicationNumberText']['value']
    print(a)

print(time.time()-a)